package com.igeekhome.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class OrderNumberListDto {

    private Integer id;

    private Integer parentNetworkId;

    /**
     * 所属网点名称
     */
    private String parentNetworkName;

    private Long startOddId;

    private Integer grantOrderNumber;

    private Long useMaxOrderNumber;

    private Long endOrderNumber;

    private Integer serviceCondition;

    private String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private Date updateTime;

    private Integer status;

}
